import partitions.MainFrame;
import hips.images.ImagePartitionable;
import ij.ImagePlus;
import ij.plugin.filter.PlugInFilter;
import ij.process.ImageProcessor;

public class Partitions_ implements PlugInFilter{
    ImagePartitionable img;

    public int setup(String string, ImagePlus impl){
        img = ImagePartitionable.getImage(impl);
        if (img == null)
            return DONE;
        return DOES_RGB+DOES_8G+DOES_32+NO_CHANGES;
    }

    public void run(ImageProcessor ip){
        MainFrame frame = new MainFrame(img);
    }
}